package com.zhida84.Dao;
/**
 * 
 * @author shazhengbo sunchangxing
 *
 */
import java.sql.ResultSet;

public interface RecruitDao {
	/**
	 * Search TopTadayRecruit();
	 * 
	 * @return RS
	 */
	public ResultSet IndexDateList(int Incremental);

	/**
	 * A details News
	 * 
	 * @param recruitId
	 * @return RS
	 */
	public ResultSet detailsDateList(int recruitId);

	/**
	 * Search RecruitTable
	 * 
	 * @param keyType
	 * @param keyWorld
	 * @return RS
	 */
	public ResultSet searchRescruit(String strQuery);

	/**
	 * 2��������ѯ
	 * 
	 * @return
	 */
	public ResultSet multipleChoice(String sex, String summary, int num);

	/**
	 * ��һ������-->�Ա��ѯ
	 * 
	 * @param value
	 * @return
	 */
	public ResultSet getonlySex(String value, int num);

	/**
	 * ��һ������-->���㷽ʽ��ѯ
	 * 
	 * @param value
	 * @return
	 */
	public ResultSet getonlySummary(String value, int num);
	/**
	 * By userId search
	 * @param userId
	 * @return Rs
	 */
	public ResultSet byUserIdSearch(String applycheck,int userId,int num);
	/**
	 * By userId Search
	 * @param activeTF
	 * @param userId
	 * @param num
	 * @return has activeTF Rs
	 */
	public ResultSet byUserIdActiveTF(String activeTF,int userId,int num);
	/**
	 * by jobtype Search
	 * @param type
	 * @return Rs
	 */
	public ResultSet bySearchType(String type);
	/**
	 * by UserId Search Lead
	 * @return
	 */
	public ResultSet byUserIdSearchLead(String sql);

	/**
	 * 消息发送
	 * @param userId 用户id
	 * @param recruitId 菜谱id
	 * @param msg 消息信息
	 * @return
	 */
	public int sendMsgInfo(Integer userId, Integer recruitId, String msg);
	
	/**
	 * 收藏
	 * @param userId 用户id
	 * @param recruitId 菜谱id
	 * @return
	 */
	public int collectionInfo(Integer userId, Integer recruitId);

}
